<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <title>Bootstrap 101 Template</title>

    <!-- Bootstrap -->
    <!-- <link href="./bootstrap/css/bootstrap.min.css" rel="stylesheet"> -->

    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
      <script src="https://cdn.bootcss.com/html5shiv/3.7.3/html5shiv.min.js"></script>
      <script src="https://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->

    <link rel="stylesheet" href="./bootstrap/css/bootstrap.min.css">
    <link rel="stylesheet" href="./css/login.css">
     
  </head>
  <body>
      <div class="container">
          <div class="row">
          <div class="col-md-6 col-md-offset-3">
            <div class="panel panel-login">
              <div class="panel-heading">
                <div class="row">
                  <div class="col-xs-6">
                    <a href="#" class="active" id="login-form-link">登录</a>
                  </div>
                  <div class="col-xs-6">
                    <a href="#" id="register-form-link">注册</a>
                  </div>
                </div>
                <hr>
              </div>
              <div class="panel-body">
                <div class="row">
                  <div class="col-lg-12">
                    <form id="login-form" action="http://118.89.161.29:10086/login" method="post" role="form" style="display: block;">
                      <div class="form-group">
                        <input type="text" name="username" id="username" tabindex="1" class="form-control" placeholder="用户名" value="">
                      </div>
                      <div class="form-group">
                        <input type="password" name="password" id="password" tabindex="2" class="form-control" placeholder="密码">
                      </div>
                      <div class="form-group text-center">
                        <input type="checkbox" tabindex="3" class="" name="remember" id="remember">
                        <label for="remember">记住我</label>
                      </div>
                      <div class="form-group">
                        <div class="row">
                          <div class="col-sm-6 col-sm-offset-3">
                            <input type="button" name="login-submit" id="login-submit" tabindex="4" class="form-control btn btn-login" value="登 录">
                          </div>
                        </div>
                      </div>
                  
                    </form>
                    <form id="register-form" action="127.0.0.1:5000/register" method="post" role="form" style="display: none;">
                      <div class="form-group">
                        <input type="text" name="username" id="username" tabindex="1" class="form-control" placeholder="用户名" value="">
                      </div>
                      <div class="form-group ">
                        <input type="email" name="email" id="email" tabindex="1" class="form-control" placeholder="邮箱地址" value="">
                      </div>
                      <div class="form-group">
                        <input type="password" name="password" id="password" tabindex="2" class="form-control" placeholder="密码">
                      </div>
                      <div class="form-group has-warning">
                        <input type="password" name="confirm-password" id="confirm-password" tabindex="3" class="form-control " placeholder="确认密码">
                      </div>
                      <div class="form-group">
                        <div class="row">
                          <div class="col-sm-6 col-sm-offset-3">
                            <input type="button" name="register-submit" id="register-submit" tabindex="4" class="form-control btn btn-register " value="注 册">
                          </div>
                        </div>
                      </div>
                    </form>
                    <div id="login-error-info" class="text-danger">
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <script src="./jquery/jquery.min.js"></script>
      <script src="./js/config.js"></script>
      <script src="./js/cookies.js"></script>
      <script src="./js/login.js"></script>
      <script  href="./bootstrap/js/bootstrap.min.js"></script>
    </body>
    </html>